package com.techsoul.module.cfg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.techsoul.module.cfg.pojo.entity.CfgApproveModelItem;
import com.techsoul.module.cfg.pojo.param.CfgApproveModelItemSearchParam;
import com.techsoul.module.cfg.pojo.vo.CfgApproveModelItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 审核模型明细Mapper接口
 * 
 * @author liuen
 * @date 2021-10-04
 */
public interface CfgApproveModelItemMapper extends BaseMapper<CfgApproveModelItem> {

    /**
     * 详情
     * @param id
     * @return
     */
    CfgApproveModelItemVo findById(String id);

    /**
     * 列表
     * @param params
     * @return
     */
    List<CfgApproveModelItemVo> findAll(@Param("params") CfgApproveModelItemSearchParam params);

    /**
     * 分页
     * @param page
     * @param params
     * @return
     */
    IPage<CfgApproveModelItemVo> findAll(Page page, @Param("params") CfgApproveModelItemSearchParam params);

}
